﻿
using Microsoft.EntityFrameworkCore;
using ProductionLine.Domain.Product;
using ProductionLine.Domain.Team;
using Sale.Domain;
using Sale.Domain.工单;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sale.Infrastructure
{
    public class SaleDbContext : DbContext
    {
        private readonly DbContextOptions options;

        public SaleDbContext(DbContextOptions options) : base(options)
        {
            this.options = options;
        }
        public DbSet<ClientModel> ClientModel { get; set; }
        public DbSet<ClientPriceModel> ClientPriceModel { get; set; }
        public DbSet<ContractModel> ContractModel { get; set; }
        public DbSet<CTypeModel> CTypeModel { get; set; }
        public DbSet<LadderModel> LadderModel { get; set; }
        public DbSet<RebuyModel> RebuyModel { get; set; }
        public DbSet<SalesOrderModel> SalesOrderModel { get; set; }
        public DbSet<ProductModel> ProductModel { get; set; }
        public DbSet<UserModel>    UserModel { get; set; }
        public DbSet<OpenFareModel> openFareModel {  get; set; }
        
    }
}
